/**
 * @file SubBattery.h
 * @author 
 * @brief 订阅Bumper触发事件topic
 * @version 1.0
 * @date 2020-08-20
 * 
 * @copyright Copyright (c) 2020
 * 
 */

#pragma once
#include <memory>
#include "rclcpp/rclcpp.hpp"
#include "sensor_msgs/msg/battery_state.hpp"
namespace behavior_controller
{
    namespace SubBattery
    {
        void SubBatteryInfo(rclcpp::Node::SharedPtr &node_handle);
        void sub_callback(const sensor_msgs::msg::BatteryState::SharedPtr msg);
    }; // namespace SubBattery
} // namespace behavior_controller
